﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DangNhap.ascx.cs" Inherits="FDeal.WUC.DangNhap" %>
<link href="../css/Style.css" rel="stylesheet" type="text/css" />

<div class="left">
    <div class="title_boxright">
        <asp:Label ID="lbTen" runat="server" Text="Label"></asp:Label>
        </div>

    <asp:Panel ID="PanelDangNhap" runat="server">
        <div class="boxright">            
            Tên Đăng Nhập:
            <asp:TextBox ID="User" runat="server" Width="191px"></asp:TextBox>                        
            Mật Khẩu:
            <asp:TextBox ID="Password" runat="server" Width="189px" TextMode="Password"></asp:TextBox> 
            <br /><br />        
          
                <asp:Label ID="lbError" runat="server" ForeColor="Red"></asp:Label>
         
            <br /><br />
            <p align="left">
                <asp:Button ID="Login" runat="server" Text="Đăng nhập" Width="80px" OnClick="Login_Click"
                    Font-Bold="True" ForeColor="#3333FF" />
                &nbsp;&nbsp;
                <asp:Button ID="Register" runat="server" Text="Đăng ký" Width="80px" 
                    OnClick="Register_Click" PostBackUrl="~/DangKy.aspx" />
            </p>
        </div>
    </asp:Panel>

    <asp:Panel ID="PanelMenu" runat="server" Visible="False">
        <div class="boxright">
            <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/PH_NguoiDung/MemberInfo_Index.aspx">Thông tin cá nhân</asp:HyperLink>
            <br />
            <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/PH_NguoiDung/MemberInfo_DoiMatKhau.aspx">Đổi mật khẩu</asp:HyperLink>
            <br />
            <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/PH_NguoiDung/MemberInfo_History.aspx">Lịch sử mua hàng</asp:HyperLink>
            <br />    <br />      
            <asp:Button ID="DangXuat" runat="server" Text="Đăng xuất" 
                onclick="DangXuat_Click" CausesValidation="False"/>
        </div>
    </asp:Panel>
    <div class="bottom_boxright">
    </div>
</div>
